package com.qfedu.controller;

import com.qfedu.service.SysCityService;
import com.qfedu.vo.BaseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/city")
public class SysCityController {
    @Autowired
    SysCityService sysCityService;
    @RequestMapping("/findcity")
    public BaseResult findCity(Integer getid,Integer backid){
        return sysCityService.findCity(getid,backid);
    }
    @RequestMapping("/select")
    public BaseResult select(Integer pid){
        return sysCityService.select(pid);
    }
}
